# filename: example9_14

def users(names):
    for name in names:
        msg = 'Hello, ' + name.title() + '!'
        print(msg)


user_names = ['Jack', 'Tom', 'harry']
users(user_names)